//
//  SFCCommitItem.m
//  SVNForCocoa
//
//  Created by Jeremy Pereira on 03/12/2013.
//  Copyright (c) 2013 Jeremy Pereira. All rights reserved.
//

#import "SFCCommitItem.h"
#import "SFCLib+Internals.h"

@implementation SFCCommitItem

@synthesize path = _path;
@synthesize kind =_kind;
@synthesize url = _url;
@synthesize revision = _revision;
@synthesize cpyFromUrl = _cpyFromUrl;
@synthesize cpyFromRevision = _cpyFromRevision;
@synthesize stateFlags = _stateFlags;
@synthesize incomingPropertyChanges;
@synthesize outgoingPropertyChanges;
@synthesize sessionPath;
@synthesize movedFromAbspath;


-(id) initWithSvnCommitItem:(const svn_client_commit_item3_t *)commitItem
{
    self = [super init];
    if (self != nil)
    {
		_path = [NSString stringWithUTF8String: commitItem->path];
    }
    return self;
}

-(NSString*) description
{
    return [NSString stringWithFormat: @"Commit item: path = %@", [self path]];
}

@end
